package com.wanmait.movie.controller;

import com.wanmait.movie.service.BrandService;
import com.wanmait.movie.util.AjaxResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * ClassName: ManageBrandControlle
 * Package: com.wanmait.movie.controller
 * Description:
 *
 * @Author Fengxd
 * @Create 2023/12/16 11:46
 * @Version 1.0
 */
@RestController
@RequestMapping("manage/brand")
public class ManageBrandController {
    @Resource
    private BrandService brandService;
    @GetMapping("getBrandInfo")
    public AjaxResult getBrandInfo() {
        return AjaxResult.success(brandService.getBrandInfo());
    }

}

